home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 16 / Developer Source Volume 16 (I-MODE Publications, Inc.)(1999).iso / win95 / fig6-1.gif < prev    next >
Graphics Interchange Format  |  1998-02-10  |  45KB  |  604x568  |  4-bit (15 colors)
Labels: text | screenshot | diagram | font | parallel | number | line | document | receipt
OCR: keybd event mouse event System Input Queue Journal Playback Hook The system's asynchronous keystate array Filter Function is updated as keyboard messages are put into the virtualized input queue. Putting Messages into the Virtual The thread's synchronous keystate array Input Queue (via user actions or a is updated just before keyboard messages Journal Playback hook filter are sent to the keyboard hook filter function. function) Virtual Input Queue Getting Messages out of the LEGEND Virtual Input Queue (via Get Message or Peek Messagel Mouse Hook Hardware Hook Executed by system threads Filter Function Filter Function Executed by the thread that installed journal Record Hook the hook Filter Function Executed by the thread that called Get Message or Peak Message Keyboard Hook Filter Function . The CBT hook filter function is called with the following CBT hook codes for hardware events: CBT Hook Filter Function' HCBT_QS: Called if WM_QUEUESYNC is played back by a journal playback hook filter function. HCBT_CLICKSKIPPED: Called if a mouse message is retrieved and a mouse hook is currently installed. Get Message Hook" HCBT_KEYSKIPPED: Called if a keyboard message Filter Function is retrieved and a keyboard hook is currently installed. * * The GetMessage hook filter function is called only if any installed keyboard, mouse, or hardware hooks do not return 1 to reject the event. Figure 6.1 Hardware input message filtering.